package com.blackline.UI.ACCOUNTS;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * @author XBO
 * @version Jan, 2013
 * <p>This page is after clicking ACCOUNTS > Accounts in navigation menu.
 * Please refer to UI.AccountsAdminGrid.png in doc-files.
 */
public class AccountsAdminGrid {
	
	/**
	 * The search text field of Account column. 
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_filterRow_tbFilter1_AccountNumber")
	public WebElement Account_textField;
	
	/**
	 * The search text field of Entity column.
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_filterRow_tbFilter1_EntityCode")
	public WebElement Entity_textField;
	
	/**
	 * The Apply link for search feature
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_lbApplyFilters")
	public WebElement Apply;
	
	/**
	 * The edit icon (the pencil icon) for the item.
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain_ctl02_ibEdit")
	public WebElement Edit_icon;
	
	/**
	 * The Account number for the searched item.
	 */
	@FindBy(xpath = "//table[@id='ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain']/tbody/tr[2]/td[6]")
	public WebElement Account_ofSearchedResult;
	
	/**
	 * The Entity for the searched item.
	 */
	@FindBy(xpath = "//table[@id='ctl00_ctl00_contentBody_cphMain_DBGrid_gvMain']/tbody/tr[2]/td[5]")
	public WebElement Entity_ofSearchedResult;
	

} 